package com.common.utils.abs;

import java.util.List;

public interface BaseDao<E, C extends DaoCondition> {
    int updateById(E model);
    int insert(E model);
    List<E> selectAll();
    E selectFirst(C daoCondition);

    E selectOneResult(C daoCondition);
    List<E> selectList(C daoCondition);
}
